"""
# -*- coding: utf-8 -*-
# @Time    : 2023/5/19 19:45
# @Author  : 王摇摆
# @FileName: ClassifierDT.py
# @Software: PyCharm
# @Blog    ：https://blog.csdn.net/weixin_44943389?type=blog
"""
# 第三库来实现
from sklearn import tree

# 决策树分类
clf = tree.DecisionTreeClassifier()
# 拟合数据
clf = clf.fit(X, y)
